<?$this->_extends("_layouts/index_layout");?>
<?$this->_block("contents");?>

<div class="main border1 mt10 line30"><span class="color2 ml10">您现在的位置：</span><a href="<?php echo url('index');?>">首页</a> <?php echo $location;?></div>
<div class="main mt10">
  <div class="border width690_list fleft">
    <ul class="list2 mt20">
      <?php foreach ($list as $row) {?>
      <li><a href="<?=url('/noticeread', array('newsid'=>$row['id']))?>" target="_blank" title="<?php echo $row['title'];?>"><?php echo Helper_Util::utfSubStr(stripslashes($row['title']),82);?></a> <span><?php echo date('Y-m-d', $row['release_date']);?></span><br/>
      </li>
      <?php }?>
    </ul>
    <div class="fright mt20 width630 mb20">
      <?php $this->_control("pagination2", "", array('pagination'=>$pager));?>
    </div>
    <div class="clear"></div>
  </div>
  <div class="border width280 fright">
    <div class="cbtitle color1">重要公告</div>
    <ul class="xw">
      <?php 
	  	$count = 0;
		foreach ($notice_list_recommend as $row) {
			$li_class = '';
			if($count % 2){
				$li_class = ' class="colorbg2"';	
			}
			$count ++;	
		?>
        
      <li <?php echo $li_class;?>><a href="<?=url('/noticeread', array('newsid'=>$row['id']))?>" target="_blank" title="<?php echo $row['title'];?>"><?php echo Helper_Util::utfSubStr(stripslashes($row['title']),30,'');?></a> <span><?php echo date('Y-m-d', $row['release_date']);?></span><br/>
      </li>
      <?php }?>
    </ul>
  </div>
  <div class="border width280 fright mt10">
    <div class="cbtitle color1">热点公告</div>
    <ul class="xw">
      <?php 
	  $count = 0;
	  foreach ($notice_list_hot as $row) {
			$li_class = '';
			if($count % 2){
				$li_class = ' class="colorbg2"';	
			}
			$count ++;  
		  ?>
      <li <?php echo $li_class;?>><a href="<?=url('/noticeread', array('newsid'=>$row['id']))?>" target="_blank" title="<?php echo $row['title'];?>"><?php echo Helper_Util::utfSubStr(stripslashes($row['title']),30,'');?></a> <span><?php echo date('Y-m-d', $row['release_date']);?></span><br/>
      </li>
      <?php }?>
    </ul>
  </div>
  <div class="clear"> </div>
</div>
<?$this->_endblock();?>
